#include "stdafx.h"
#include "games.h"
using namespace games;

games::Box level1[] = {
	{1,15,BLUE},{2,15,BLUE},{3,15,BOMB},{4,15,BOMB},{5,15,RED},{6,15,RED},{7,15,BOMB},{8,15,BOMB},{9,15,PURPLE},{10,15,PURPLE},{11,15,BOMB},{12,15,END},
	{1,14,BLUE},{2,14,BLUE},{3,14,BOMB},{4,14,BOMB},{5,14,RED},{6,14,RED},{7,14,BOMB},{8,14,BOMB},{9,14,PURPLE},{10,14,PURPLE},{11,14,BOMB},{12,14,BOMB},
	{1,13,BLUE},{2,13,BLUE},{3,13,BOMB},{4,13,BOMB},{5,13,RED},{6,13,RED},{7,13,BOMB},{8,13,BOMB},{9,13,PURPLE},{10,13,PURPLE},{11,13,BOMB},{12,13,BOMB},
	{1,12,BLUE},{2,12,GRAY},{3,12,GRAY},{4,12,GRAY},{5,12,GRAY},{6,12,GRAY},{7,12,GRAY},{8,12,GRAY},{9,12,GRAY},{10,12,GRAY},{11,12,GRAY},{12,12,GRAY},

	{1,8,GRAY},{2,8,GRAY},{3,8,GRAY},{4,8,GRAY},{5,8,GRAY},

	{10,9,BLUE},{11,9,BLUE},{12,9,BLUE},
	{10,8,BLUE},{11,8,TO_RED},{12,8,BLUE},
	{10,7,BLUE},{11,7,BLUE},{12,7,BLUE},

	{10,4,RED},{11,4,RED},{12,4,RED},
	{10,3,RED},{11,3,TO_PURPLE},{12,3,RED},
	{10,2,RED},{11,2,RED},{12,2,RED},
};

games::Box level2[] = {
	{1,1,GRAY},
	{1,15,GRAY},
	{12,15,GRAY},
	{12,1,GRAY}
};


games::Box * games::get_game(int game_id, int & blocks, float ** center, games::Type & type, int & back, Mode & mode)
{
	(*center)[0] = 0.5f; //1.0f/12.0f/2.0f;
	(*center)[1] = 0.5f; //1.0f/15.0f/2.0f;
	back = 0; //which backdrop to use (zero to <number of backdrops> - 1)
	type = BLUE;
	mode = OUTBLAST;
	blocks = sizeof level2 / sizeof Box;
	//return level1;
	return level2;
}